.class final Lcom/greystripe/sdk/u;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/greystripe/sdk/s;


# direct methods
.method constructor <init>(Lcom/greystripe/sdk/s;)V
    .locals 0

    iput-object p1, p0, Lcom/greystripe/sdk/u;->a:Lcom/greystripe/sdk/s;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final run()V
    .locals 6

    const/4 v5, 0x0

    const/4 v4, 0x0

    const-string v0, "collapsing!"

    new-array v1, v4, [Ljava/lang/Object;

    invoke-static {v0, v1}, Lcom/greystripe/sdk/bd;->b(Ljava/lang/String;[Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/greystripe/sdk/u;->a:Lcom/greystripe/sdk/s;

    invoke-static {v0}, Lcom/greystripe/sdk/s;->b(Lcom/greystripe/sdk/s;)Lcom/greystripe/sdk/z;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/greystripe/sdk/u;->a:Lcom/greystripe/sdk/s;

    iget-object v0, v0, Lcom/greystripe/sdk/s;->a:Lcom/greystripe/sdk/c;

    invoke-static {v0}, Lcom/greystripe/sdk/c;->a(Lcom/greystripe/sdk/c;)Lcom/greystripe/sdk/aa;

    move-result-object v0

    invoke-virtual {v0}, Lcom/greystripe/sdk/aa;->getRootView()Landroid/view/View;

    move-result-object v0

    const v1, 0x1020002

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    invoke-virtual {v0, v4}, Landroid/view/ViewGroup;->removeViewAt(I)V

    iget-object v1, p0, Lcom/greystripe/sdk/u;->a:Lcom/greystripe/sdk/s;

    invoke-static {v1}, Lcom/greystripe/sdk/s;->b(Lcom/greystripe/sdk/s;)Lcom/greystripe/sdk/z;

    move-result-object v1

    iget-object v2, p0, Lcom/greystripe/sdk/u;->a:Lcom/greystripe/sdk/s;

    invoke-static {v2}, Lcom/greystripe/sdk/s;->c(Lcom/greystripe/sdk/s;)Landroid/widget/FrameLayout;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/greystripe/sdk/z;->removeView(Landroid/view/View;)V

    iget-object v1, p0, Lcom/greystripe/sdk/u;->a:Lcom/greystripe/sdk/s;

    invoke-static {v1}, Lcom/greystripe/sdk/s;->b(Lcom/greystripe/sdk/s;)Lcom/greystripe/sdk/z;

    move-result-object v1

    iget-object v2, p0, Lcom/greystripe/sdk/u;->a:Lcom/greystripe/sdk/s;

    iget-object v2, v2, Lcom/greystripe/sdk/s;->a:Lcom/greystripe/sdk/c;

    invoke-static {v2}, Lcom/greystripe/sdk/c;->a(Lcom/greystripe/sdk/c;)Lcom/greystripe/sdk/aa;

    move-result-object v2

    iget-object v3, p0, Lcom/greystripe/sdk/u;->a:Lcom/greystripe/sdk/s;

    invoke-static {v3}, Lcom/greystripe/sdk/s;->d(Lcom/greystripe/sdk/s;)I

    move-result v3

    invoke-virtual {v1, v2, v3}, Lcom/greystripe/sdk/z;->addView(Landroid/view/View;I)V

    iget-object v1, p0, Lcom/greystripe/sdk/u;->a:Lcom/greystripe/sdk/s;

    invoke-static {v1}, Lcom/greystripe/sdk/s;->a(Lcom/greystripe/sdk/s;)Landroid/view/View;

    move-result-object v1

    iget-object v2, p0, Lcom/greystripe/sdk/u;->a:Lcom/greystripe/sdk/s;

    invoke-static {v2}, Lcom/greystripe/sdk/s;->e(Lcom/greystripe/sdk/s;)Landroid/view/ViewGroup$LayoutParams;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/view/ViewGroup;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/greystripe/sdk/u;->a:Lcom/greystripe/sdk/s;

    invoke-static {v0, v5}, Lcom/greystripe/sdk/s;->a(Lcom/greystripe/sdk/s;Landroid/view/View;)Landroid/view/View;

    iget-object v0, p0, Lcom/greystripe/sdk/u;->a:Lcom/greystripe/sdk/s;

    invoke-static {v0, v5}, Lcom/greystripe/sdk/s;->a(Lcom/greystripe/sdk/s;Lcom/greystripe/sdk/z;)Lcom/greystripe/sdk/z;

    iget-object v0, p0, Lcom/greystripe/sdk/u;->a:Lcom/greystripe/sdk/s;

    iget-object v0, v0, Lcom/greystripe/sdk/s;->a:Lcom/greystripe/sdk/c;

    invoke-static {v0, v4}, Lcom/greystripe/sdk/c;->b(Lcom/greystripe/sdk/c;Z)Z

    iget-object v0, p0, Lcom/greystripe/sdk/u;->a:Lcom/greystripe/sdk/s;

    iget-object v0, v0, Lcom/greystripe/sdk/s;->a:Lcom/greystripe/sdk/c;

    invoke-static {v0}, Lcom/greystripe/sdk/c;->n(Lcom/greystripe/sdk/c;)V

    :cond_0
    return-void
.end method
